<template>
  <el-config-provider :locale="{ el: $g.i18n('el') }">
    <router-view></router-view>
    <router-view name="login"></router-view>
  </el-config-provider>
</template>
<script>
import apiDoc from "@/api/@api.js";
export default {
  name: "App",
  inject: ["$g"],
  data() {
    this.$g.session.store.enbled = false; //关闭鉴权
    this.$g.ajax.apiDoc = apiDoc;
    return {};
  },
  watch: {
    $route(fresh, old) {}
  },
  mounted() {}
};
</script>
